package com.ymatou.iapi.godmch.parameter;
import com.ymt.base.BaseBean;
/**
*创建邀请码Bean
*FreeMaker Template自动生成代码
*/
public class CreateCodeBean extends BaseBean{
 
	/**商户id*/
	private Integer mchId;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.CreateCodeBean#mchId
	 */
	public Integer getMchId(){
 
		return mchId;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.CreateCodeBean#mchId
	 */
	public void setMchId(Integer mchId){
 
		this.mchId = mchId;
 
	}
	/**被邀请对象角色  1：代理   2：客服*/
	private int codeRole;

	public int getCodeRole(){
		return codeRole;
	}
	public void setCodeRole(int codeRole){
		this.codeRole = codeRole;
	}
	
	/**角色类型  1：代理类型id   2：客服权限模板id*/
	private Integer roleType;

	/**
	 * @see  com.ymatou.iapi.godmch.parameter.CreateCodeBean#roleType
	 * 目前没有客服 返回的都是代理类型
	 * @return
	 */
	public Integer getRoleType(){
		return roleType;
	}
	/**
	 * @see  com.ymatou.iapi.godmch.parameter.CreateCodeBean#roleType
	 * 目前没有客服 返回的都是代理类型
	 */
	public void setRoleType(Integer roleType){
		this.roleType = roleType;
	}
	/**是否为永久有效期*/
	private boolean permanently;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.CreateCodeBean#isPermanently
	 */
	public boolean getIsPermanently(){
 
		return permanently;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.CreateCodeBean#isPermanently
	 */
	public void setIsPermanently(boolean isPermanently){
 
		this.permanently = isPermanently;
 
	}
	
	
	
	/**代理模式 1自主选货，2.自动继承*/
	private Integer agentModel;

	public Integer getAgentModel(){
		return agentModel;
	}
	public void setAgentModel(Integer agentModel){
		this.agentModel = agentModel;
	}
}
